package com.carleasoft.mps.cms.business.article.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 文章内容entity
 * @author yanghao
 * @date 2021-12-14 09:33
 * @project mps
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "c_article_data")
public class ArticleDataEntity implements Serializable {

    /**
     * 文章编码
     */
    @TableId(type = IdType.INPUT,value = "ARTICLE_CODE")
    private String articleCode;

    /**
     * 文章内容
     */
    @TableField(value = "ARTICLE_DATA")
    private String articleData;
}
